<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="/WEB-INF/tlds/nodes-faces.tld" prefix="n" %>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<html>
    <f:view>
        <head>
            <jsp:directive.include file="head.jsp"/>
        </head>
        <body>
            <n:applet
                code="offset.nodes.client.editor.EditorApplet" codebase="#{NodesBean.contextPath}" jar="editor.jar"
                width="99%" height="99%">
                <f:param name="mode" value="1"/>
                <f:param name="downloadFrom" value="#{NodesBean.repositoryPath}#{PathBean.path}?contentType=html&mode=applet"/>
                <f:param name="uploadTo" value="#{NodesBean.dialogPath}"/>
                <f:param name="returnUrl" value="#{HtmlBean.returnUrl}"/>
                <f:param name="image" value="#{NodesBean.repositoryPath}/jcr:system/nodes/resources/images/titlepage.gif"/>
            </n:applet>
        </body>
    </f:view>
</html>
